package net.lanelife.casino.caipiao.dto.admin;

import javax.validation.constraints.NotNull;

import net.lanelife.casino.caipiao.entity.Bank.AllowBindingStatus;
import net.lanelife.casino.caipiao.entity.Bank.BankTransferStatus;
import net.lanelife.casino.common.dto.TransientDTO;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

public class BankCreateDTO extends TransientDTO<Integer> {

	private static final long serialVersionUID = 3685142308917108210L;

	@NotBlank
	@Length(min = 2, max = 10)
	private String code;
	
	@NotBlank
	@Length(min = 2, max = 10)
	private String name;
	
	@NotBlank
	@Length(min = 1, max = 200)
	private String url;
	
	@NotBlank
	@Length(min = 1, max = 200)
	private String rechargeDemoUrl;
	
	@NotNull
	private BankTransferStatus bankTransferStatus = BankTransferStatus.OPEN;
	
	@NotNull
	private AllowBindingStatus allowBindingStatus = AllowBindingStatus.OPEN;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getRechargeDemoUrl() {
		return rechargeDemoUrl;
	}

	public void setRechargeDemoUrl(String rechargeDemoUrl) {
		this.rechargeDemoUrl = rechargeDemoUrl;
	}

	public BankTransferStatus getBankTransferStatus() {
		return bankTransferStatus;
	}

	public void setBankTransferStatus(BankTransferStatus bankTransferStatus) {
		this.bankTransferStatus = bankTransferStatus;
	}

	public AllowBindingStatus getAllowBindingStatus() {
		return allowBindingStatus;
	}

	public void setAllowBindingStatus(AllowBindingStatus allowBindingStatus) {
		this.allowBindingStatus = allowBindingStatus;
	}
	
	
}
